using Gateway.SqlSugar.Splits;
using SqlSugar;

namespace Gateway.IQuery.Order.Result;

/// <summary>
/// 
/// </summary>
[SugarTable("Order_{0}")]
[SplitTable(SplitType._Custom01, typeof(SplitTableService))]
public class OrderDetailResult : BaseResult
{
    [SplitField] public string OrderId { get; set; }

    /// <summary>
    /// payer id
    /// </summary>
    public string Payer { get; set; }

    /// <summary>
    /// pay money cent
    /// </summary>
    public long Money { get; set; }

    /// <summary>
    /// area
    /// </summary>
    public string Area { get; set; }

    /// <summary>
    /// order status
    /// NoPay=1,
    /// Paying=2,
    /// Payed=3,
    /// PayFail=4
    /// </summary>
    public string OrderStatus { get; set; }


    public DateTime OrderTime { get; set; }
}